/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created: Tue 12. Apr 02:38:11 2011
**      by: Qt User Interface Compiler version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QStackedWidget>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <chatwidget.h>
#include <contactsview.h>

QT_BEGIN_NAMESPACE

class Ui_MainWindow
{
public:
    QAction *actionLogout;
    QAction *actionLogin;
    QAction *actionBack;
    QWidget *content;
    QVBoxLayout *verticalLayout;
    QStackedWidget *screensStack;
    QWidget *appScreen;
    QVBoxLayout *verticalLayout_2;
    QTabWidget *tabs;
    QWidget *contacts;
    QVBoxLayout *verticalLayout_4;
    ContactsView *contactsList;
    QWidget *chat;
    QVBoxLayout *verticalLayout_6;
    ChatWidget *widget;
    QWidget *logonScreen;
    QVBoxLayout *verticalLayout_3;
    QGridLayout *gridLayout;
    QLabel *labID;
    QLineEdit *txtID;
    QLabel *labPassword;
    QLineEdit *txtPassword;
    QCheckBox *chRemember;
    QSpacerItem *verticalSpacer;
    QPushButton *btnSaveSettings;
    QMenuBar *menuBar;

    void setupUi(QMainWindow *MainWindow)
    {
        if (MainWindow->objectName().isEmpty())
            MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
        MainWindow->resize(326, 316);
        actionLogout = new QAction(MainWindow);
        actionLogout->setObjectName(QString::fromUtf8("actionLogout"));
        actionLogin = new QAction(MainWindow);
        actionLogin->setObjectName(QString::fromUtf8("actionLogin"));
        actionBack = new QAction(MainWindow);
        actionBack->setObjectName(QString::fromUtf8("actionBack"));
        content = new QWidget(MainWindow);
        content->setObjectName(QString::fromUtf8("content"));
        verticalLayout = new QVBoxLayout(content);
        verticalLayout->setSpacing(2);
        verticalLayout->setContentsMargins(2, 2, 2, 2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        screensStack = new QStackedWidget(content);
        screensStack->setObjectName(QString::fromUtf8("screensStack"));
        appScreen = new QWidget();
        appScreen->setObjectName(QString::fromUtf8("appScreen"));
        verticalLayout_2 = new QVBoxLayout(appScreen);
        verticalLayout_2->setSpacing(2);
        verticalLayout_2->setContentsMargins(2, 2, 2, 2);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        tabs = new QTabWidget(appScreen);
        tabs->setObjectName(QString::fromUtf8("tabs"));
        tabs->setTabPosition(QTabWidget::South);
        contacts = new QWidget();
        contacts->setObjectName(QString::fromUtf8("contacts"));
        verticalLayout_4 = new QVBoxLayout(contacts);
        verticalLayout_4->setSpacing(2);
        verticalLayout_4->setContentsMargins(2, 2, 2, 2);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        contactsList = new ContactsView(contacts);
        contactsList->setObjectName(QString::fromUtf8("contactsList"));

        verticalLayout_4->addWidget(contactsList);

        tabs->addTab(contacts, QString());
        chat = new QWidget();
        chat->setObjectName(QString::fromUtf8("chat"));
        verticalLayout_6 = new QVBoxLayout(chat);
        verticalLayout_6->setSpacing(2);
        verticalLayout_6->setContentsMargins(2, 2, 2, 2);
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        widget = new ChatWidget(chat);
        widget->setObjectName(QString::fromUtf8("widget"));

        verticalLayout_6->addWidget(widget);

        tabs->addTab(chat, QString());

        verticalLayout_2->addWidget(tabs);

        screensStack->addWidget(appScreen);
        logonScreen = new QWidget();
        logonScreen->setObjectName(QString::fromUtf8("logonScreen"));
        verticalLayout_3 = new QVBoxLayout(logonScreen);
        verticalLayout_3->setSpacing(6);
        verticalLayout_3->setContentsMargins(11, 11, 11, 11);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        labID = new QLabel(logonScreen);
        labID->setObjectName(QString::fromUtf8("labID"));

        gridLayout->addWidget(labID, 0, 0, 1, 1);

        txtID = new QLineEdit(logonScreen);
        txtID->setObjectName(QString::fromUtf8("txtID"));

        gridLayout->addWidget(txtID, 0, 1, 1, 1);

        labPassword = new QLabel(logonScreen);
        labPassword->setObjectName(QString::fromUtf8("labPassword"));

        gridLayout->addWidget(labPassword, 1, 0, 1, 1);

        txtPassword = new QLineEdit(logonScreen);
        txtPassword->setObjectName(QString::fromUtf8("txtPassword"));
        txtPassword->setEchoMode(QLineEdit::Password);

        gridLayout->addWidget(txtPassword, 1, 1, 1, 1);

        chRemember = new QCheckBox(logonScreen);
        chRemember->setObjectName(QString::fromUtf8("chRemember"));

        gridLayout->addWidget(chRemember, 2, 1, 1, 1);


        verticalLayout_3->addLayout(gridLayout);

        verticalSpacer = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_3->addItem(verticalSpacer);

        btnSaveSettings = new QPushButton(logonScreen);
        btnSaveSettings->setObjectName(QString::fromUtf8("btnSaveSettings"));

        verticalLayout_3->addWidget(btnSaveSettings);

        screensStack->addWidget(logonScreen);

        verticalLayout->addWidget(screensStack);

        MainWindow->setCentralWidget(content);
        menuBar = new QMenuBar(MainWindow);
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
        menuBar->setGeometry(QRect(0, 0, 326, 26));
        MainWindow->setMenuBar(menuBar);
#ifndef QT_NO_SHORTCUT
        labID->setBuddy(txtID);
        labPassword->setBuddy(txtPassword);
#endif // QT_NO_SHORTCUT

        retranslateUi(MainWindow);
        QObject::connect(actionLogout, SIGNAL(triggered()), MainWindow, SLOT(showLoginPage()));
        QObject::connect(btnSaveSettings, SIGNAL(clicked()), MainWindow, SLOT(saveSettings()));
        QObject::connect(btnSaveSettings, SIGNAL(clicked()), MainWindow, SLOT(showMainPage()));
        QObject::connect(MainWindow, SIGNAL(started()), MainWindow, SLOT(loadSettings()));
        QObject::connect(MainWindow, SIGNAL(started()), MainWindow, SLOT(showLoginPage()));
        QObject::connect(contactsList, SIGNAL(clicked(QModelIndex)), MainWindow, SLOT(showChatWindow(QModelIndex)));

        screensStack->setCurrentIndex(0);
        tabs->setCurrentIndex(1);


        QMetaObject::connectSlotsByName(MainWindow);
    } // setupUi

    void retranslateUi(QMainWindow *MainWindow)
    {
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
        actionLogout->setText(QApplication::translate("MainWindow", "Logout", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        actionLogout->setToolTip(QApplication::translate("MainWindow", "Logout", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        actionLogin->setText(QApplication::translate("MainWindow", "Login", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        actionLogin->setToolTip(QApplication::translate("MainWindow", "Login", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        actionBack->setText(QApplication::translate("MainWindow", "1", 0, QApplication::UnicodeUTF8));
        tabs->setTabText(tabs->indexOf(contacts), QApplication::translate("MainWindow", "Contacts", 0, QApplication::UnicodeUTF8));
        tabs->setTabText(tabs->indexOf(chat), QApplication::translate("MainWindow", "Chat", 0, QApplication::UnicodeUTF8));
        labID->setText(QApplication::translate("MainWindow", "Jabber ID", 0, QApplication::UnicodeUTF8));
        labPassword->setText(QApplication::translate("MainWindow", "Password", 0, QApplication::UnicodeUTF8));
        chRemember->setText(QApplication::translate("MainWindow", "Remember", 0, QApplication::UnicodeUTF8));
        btnSaveSettings->setText(QApplication::translate("MainWindow", "Enter", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class MainWindow: public Ui_MainWindow {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_MAINWINDOW_H
